package tw.com.book.api.task01;

import tw.com.book.componet.IssueBussinessException;
import tw.com.book.dto.MainDTO;
import android.content.Context;

/**
 * 主畫面服務
 * 
 * @author Andy
 * 
 */
public interface MainTaskService {

	/**
	 * 查詢資料
	 * 
	 * @param dto
	 * @param context
	 * @throws IssueBussinessException
	 */
	public void doQuery(MainDTO dto, Context context)
			throws IssueBussinessException;

	public void doV002(MainDTO dto, Context context)
			throws IssueBussinessException;
	public void doV002s(MainDTO dto, Context context)
			throws IssueBussinessException;
	
	
	
	/**
	 * 刪除此歷史記錄
	 * @param dto
	 * @param context
	 * @throws IssueBussinessException
	 */
	void deleteSubV002(MainDTO dto, Context context)throws IssueBussinessException;
	
	/**
	 * 此記錄設定為最新
	 * @param dto
	 * @param context
	 * @throws IssueBussinessException
	 */
	void setMaterV002(MainDTO dto, Context context)throws IssueBussinessException;
	
	/**
	 * 增加記錄
	 * @param dto
	 * @param context
	 * @throws IssueBussinessException
	 */
	public void pendContent(MainDTO dto,Context context)throws IssueBussinessException;
}
